package com.tengju.bff.interfaces.covercharge.entity.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * @author liang_shi
 * @date 2020/7/15 10:39
 * @description
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("w_service_contract_relation")
public class ServiceContractRelation implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("biz_id")
    private String bizId;

    /**
     * 代理id
     */
    @TableField("id_code")
    private Integer idCode;

    /**
     * 平台编号ABM/DT
     */
    @TableField("platform_code")
    private String platformCode;

    /**
     * 1-自认证企业 2-自认证个体工商户 3-乐税个体工商户
     */
    @TableField("user_from")
    private Integer userFrom;


    /**
     * 模板表主键Id
     */
    @TableField("template_id")
    private Integer templateId;

    /**
     * 合同id
     */
    @TableField("contract_id")
    private String contractId;

    /**
     * 合同发起方-企业账户
     */
    @TableField("sponsor")
    private String sponsor;

    /**
     * 合同合作方-用户帐号
     */
    @TableField("account")
    private String account;

    /**
     * 合同手动签地址
     */
    @TableField("sign_url")
    private String signUrl;

    /**合同签署的到期时间*/
    @TableField("sign_expire_time")
    private Date signExpireTime;

    @TableField("create_time")
    private Date createTime;

    @TableField("update_time")
    private Date updateTime;


}
